package com.plian.system.service.wbdsh;

import com.plian.system.entity.wbdsh.WbdsDailyThing;
import com.plian.system.entity.wbdsh.WbdsDailyThingHq;
import com.plian.system.mybatis.base.BaseService;

/**
 * 月度计划表服务类
 */
public interface IWbdsDailyThingHqService extends BaseService<WbdsDailyThingHq> {

	/**
	 * 校验编码
	 *
	 * @param id
	 * @param code
	 * @return
	 */
	Boolean checkIsExisted(Long id, String code);
	/**
	 * 保存或新增,包含子表
	 *
	 * @param dailyThing
	 * @return
	 */
	Boolean submit(WbdsDailyThingHq dailyThing);


	/**
	 * 校验是否能取消审核和变更
	 *
	 * @param id
	 * @return
	 */
	Boolean checkCancel(Long id);

}
